package com.ruoyi.cs.domain.dto.battle;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.cs.domain.TBattleSpoils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
import java.math.BigDecimal;

/**
 * @ClassName BattleUserInfoDTO
 * @Description TODO
 * @Author zz
 * @Date 2024/2/25
 **/
@Data
public class BattleUserInfoDTO {
    @ApiModelProperty(value = "对战台参与ID")
    private String battleruserId;

    @ApiModelProperty(value = "对战房间ID")
    private String battleId;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "参与对战的用户ID")
    private String userId;

    @ApiModelProperty(value = "花费金额")
    private BigDecimal cost;

    @ApiModelProperty(value = "对战状态 null 未开启对战  0 失败方 1 胜者方  2 平手")
    private String dzStatus;

    @ApiModelProperty(value = "用户头像")
    private String userPic;

    @ApiModelProperty(value = "用户名称")
    private String  userName;

    @ApiModelProperty(value = "是否是房主")
    private Boolean isHomeUser=false;

    @ApiModelProperty(value = "是否用户本人")
    private Boolean isSelfUser=false;

    @ApiModelProperty(value = "对战所开饰品金额")
    private BigDecimal battleFee;

    @ApiModelProperty(value = "用户当前客户端种子")
    private String currentUserSeed;

    @ApiModelProperty(value = "创建时间戳")
    private Long creatTimeStamp;

    @ApiModelProperty(value = "最终所得饰品价值")
    private BigDecimal finalGoodsPrice;

    @ApiModelProperty(value = "客户端种子")
    private String userSeed;

    @ApiModelProperty(value = "服务端种子")
    private String serverSeed;

    @ApiModelProperty(value = "公共哈希")
    private String commonHash;

    @ApiModelProperty(value = "roll值")
    private Long rollValue;

    @ApiModelProperty(value = "随机值")
    private Integer nonce;

    @ApiModelProperty(value = "用户对战开箱饰品信息")
    private List<BattleBoxDTo> userOpenBoxList;

    @ApiModelProperty(value = "用户最终得到的饰品信息")
    private List<TBattleSpoils> battleSpoilsList;

    @ApiModelProperty(value = "坑位")
    private String pitlocation;

}
